package admin.common.domain.rsp;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * @author zgb
 * @date 2024-03-06 16:32
 * @description TODO
 */

@Schema(description = "员工字段 响应对象")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EmployeeFieldRsp implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;


    @Schema(description = "工号")
    @JsonProperty("employee_no")
    private String employeeNo;

    @Schema(description = "人员类型")
    @JsonProperty("employee_type")
    private Integer employeeType;

    @Schema(description = "英文姓名")
    @JsonProperty("en_name")
    private String enName;

    @Schema(description = "中文姓名")
    private String name;

    @Schema(description = "员工状态：" +
            "1：待入职\n" +
            "\n" +
            "2：在职\n" +
            "\n" +
            "3：已取消入职\n" +
            "\n" +
            "4：待离职\n" +
            "\n" +
            "5：已离职")
    private Integer status;


}
